<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="ckplayer/ckplayer.js"></script>
		<script src="ckplayer/ckplayer.min.js"></script>
		<script src="ckplayer/hls/hls.js"></script>
		<script src="ckplayer/hls/hls.min.js"></script>
		<script src="js/jquery.min.js"></script>
	</head>
	<body>
		<h1>è§é¢æ­æ¾æµè¯é¡µé¢ï¼</h1>
		<div id="showvideo" class="video" style="width: 600px;height: 400px;"></div>
 
	</body>
	<script type="text/javascript">
		var directUrl = "http://push.qdzhibo1.com/zhibo/926.m3u8";
		var videoObject = {
			container: '#showvideo', //â#âä»£è¡¨å®¹å¨çIDï¼â.âæââä»£è¡¨å®¹å¨çclass
			variable: 'player', //è¯¥å±æ§å¿éè®¾ç½®ï¼å¼ç­äºä¸é¢çnew chplayer()çå¯¹è±¡
			//loaded: 'loadedHandler', //çå¬æ­æ¾å¨å è½½æå
			autoplay: true, //æ¯å¦èªå¨æ­æ¾
			live: true, //æ¯å¦ç´æ­
			video: directUrl
 
		};
		var player = new ckplayer(videoObject);	
	</script>
</html>